package com.atguigu.spzx.common.log.annnotations;

import com.atguigu.spzx.common.log.enums.OperateTypeEnum;

import java.lang.annotation.*;

@Target({ElementType.METHOD}) //当前注解只允许在方法上使用
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface SpzxLog {
    String title();

    OperateTypeEnum operatorType() default OperateTypeEnum.MANAGE;//MOBILE

    int businessType() default 0;// 0查 1增 2删 3改

    boolean isRequestParamSave() default true;
    boolean isResponseSave() default true;
}
